﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AllTalk
{
    internal class MessageSentEventArgs : ConnectionEventArgs
    {
        public ChatMessage Message { get; private set; }


        public MessageSentEventArgs(ChatMessage chatMessage, Exception error)
            : base(error)
        {
            this.Message = chatMessage;
        }
    }

    internal class ConnectionEventArgs : EventArgs
    {
        public Exception Error { get; private set; }
        public ConnectionEventArgs(Exception error)
        {
            this.Error = error;
        }
    }
}
